package com.neteast.video.view;

import com.neteast.video.R;
import android.app.Dialog;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.WindowManager;
import android.view.ViewGroup.LayoutParams;

public class SearchDialog extends Dialog {

	private View view;

	
	public SearchDialog(Context context, int theme) {
		super(context, theme);
		view = LayoutInflater.from(context).inflate(R.layout.dialog_prompt_search, null);
		LayoutParams params=new LayoutParams(600, LayoutParams.WRAP_CONTENT);
		addContentView(view, params);
		setCanceledOnTouchOutside(true);
	}

	public View getView() {
		return view;
	}
}
